package com.niiwoo.civet.account.dao.mapper;

import com.niiwoo.civet.account.dao.entity.ActivityOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActivityOrder record);

    int insertSelective(ActivityOrder record);

    ActivityOrder selectByPrimaryKey(Long id);

    ActivityOrder selectByPrimaryKeyForUpdate(Long id);

    int updateByPrimaryKeySelective(ActivityOrder record);

    int updateByPrimaryKey(ActivityOrder record);

    ActivityOrder selectByRequestNoForUpdate(String requestNo);

    List<ActivityOrder> getNotSendSuccessList(@Param("minute") Integer minute,@Param("sendStatus") Byte sendStatus);
}